﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace Xyz.Web.Reservation.Models
{
    public class MemberModel : CustomerModel
    {
        public int MemberId { get; set; }

        [DisplayName("Passport No. : ")]
        [Required(ErrorMessage = "Please enter Passport No.")]
        public string PassportNo { get; set; }

        [DisplayName("Address : ")]
        [Required(ErrorMessage = "Please enter Address.")]
        public string Address1 { get; set; }

        [DisplayName("")]
        public string Address2 { get; set; }

        [DisplayName("")]
        public string Address3 { get; set; }

        [DisplayName("City : ")]
        public string City { get; set; }

        [DisplayName("Postal Code : ")]
        [Required(ErrorMessage = "Please enter Postal Code.")]
        public string PostalCode { get; set; }

        [DisplayName("Country : ")]
        public string Country { get; set; }

        [DisplayName("Passport Expiry Date : ")]
        [Required(ErrorMessage = "Please enter Passport Expiry Date.")]
        public DateTime PassportExpiryDate { get; set; }

        [DisplayName("Member Points : ")]
        public int MemberPoints { get; set; }

        public List<MemberPaymentModel> MemberPayments { get; set; }	
	}
}